package com.wgy.day4;

/**
 * Created by pc on 2020/11/2 22:20
 * Description: Demo1
 */
public class Demo17LoopHourAndMinute {
    public static void main(String[] args) {
        for (int hour = 0; hour < 24; hour++) {
            for (int min = 0; min < 60; min++) {
                for (int second = 0; second < 60; second++) {
                    System.out.println(hour + "点" + min + "分" + second + "秒");
                }
            }
            System.out.println();
        }
    }
}